package org.pvt.gui;

import android.os.Bundle;
import org.jetbrains.annotations.NotNull;
import org.pvt.R;
import org.pvt.model.HasNameAndBelongsToEvent;
import org.pvt.model.Models;

/**
 * @author Pavel Talanov
 */
public final class PeopleActivity extends EventAttrCRUDActivity {

    @NotNull
    @Override
    protected HasNameAndBelongsToEvent getModel() {
        return Models.Person;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.people);
        resetCursorAdapter();
    }
}